{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=3027
  Verdict: Accepted
}
uses
	SysUtils, Math;
 
var 
	i,n,l,r,kk:longint; 
	s:string;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(n);
kk:=n-1;
s:='';
for i:=1 to kk do 
	s:=s+'.';
s:=s+'*';
for i:=1 to kk do
	s:=s+'.';
l:=n;
r:=n;
for i:=1 to n do begin
	writeln(s);
	dec(l);
	inc(r);
	s[l]:='*';
	s[r]:='*';
end;
end.